All FCS error messages are logged with sense data captured at the time AIX notes an error has occured.

AIX has expanded the error sense data template for version 6.1 and the additional fields take into account new
feature and functionality of the HBA and from data returned from the SAN and end devices.

To fully understand the error message, the information in the sense data must be decoded.
A description of the pertainent fields in the sense data is given below.

Sense Data Field descriptions

DETAIL SENSE DATA

AIX Version 5.3 and below

RRRR RRRR EEEE EEEE TTCC OOOO NNNN NNNN NNNN NNNN IIII IIII MMMM MMMM LLLL LLLL
AAAA AAAA BBBB BBBB DDDD DDDD FFFF FFFF GGGG GGGG HHHH HHHH JJJJ JJJJ KKKK KKKK
PPPP PPPP SS%% UUUU VVVV VVVV WWWW WWWW XXXX XXXX YYYY YYYY ZZZZ ZZZZ 2222 2222
3333 3333 4444 4444 QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ
QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ
QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ
QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ
QQQQ QQQQ 


AIX 6 and above:

hhhh hhhh EEEE EEEE TTCC OOOO NNNN NNNN IIII IIII MMMM MMMM LLLL LLLL AAAA AAAA
BBBB BBBB DDDD DDDD FFFF FFFF GGGG GGGG HHHH HHHH JJJJ JJJJ KKKK KKKK PPPP PPPP SSSS SSSS UUUU UUUU VVVV VVVV WWWW WWWW XXXX XXXX YYYY YYYY ZZZZ ZZZZ 2222 2222
3333 3333 4444 4444 5555 5555 6666 6666 7777 7777 8888 8888 9999 9999 aaaa aaaa
bbbb cccc dddd eeff gggg gggg gggg gggg hhhh hhhh hhhh hhhh iiii iiii iiii iiii
jjjj jjjj jjjj jjjj kk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QQ QQQQ QQQQ QQQQ QQQQ
QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ QQQQ


  
The above fields have the following interpretation:


Value Description
h 1 - Qlogic Keaton 2G (2312) Adapter's driver
2 - Qlogic Keaton 4G (2422) Adapter's driver
10 - Emulex FC adapter

Value Description
EEEE This value is the error number. A list of error numbers and there descriptions can be found ERROR Code

TT Value Description: This value is the type of data in the QQQQ ... field with the following possible values:
0 Neither mailbox nor IOCB included
1 Mailbox included in data field
2 IOCB included in data field
3 Adapter register contents included.
4 Adapter driver data
5 Command structure data.

CC Value Description: his value is how this adapter is connected with the possible values
0 Unknown how it is connected
1 This adapter is connected point to point
2 This adapter is connected to switch
3 This adapter is connected to an arbitrated loop

Value Description
NNNN This is the N_Port ID of the adapter
OOOO This is the io_tag/iocb->handle of the next IOCB
IIII Number of IOCB's issued by the adapter driver, since it was configured
MMMM Number of mailboxes issued by the adapter driver, since it was configured
LLLL This indicates how often (in seconds) the adapter driver issues a 
       READ_LNK_STAT mailbox (opcode 0x12)
AAAA This indicates the number of times the link has failed
BBBB The number of times the loss of synchronization has occurred
DDDD The number of times the loss of signal has occurred
FFFF The number of times a primitive sequence error has occurred
GGGG The number of times an invalid transmission character has been seen
HHHH The number of times a CRC error occurred from a receive frame
JJJJ The number of times a Primitive Sequence Event Time-out has occurred
KKKK The number of times an Elastic Buffer overrun has occurred
PPPP The number of times a time-out has occurred during and FC-AL arbitration

%% Value Description: Link speedy for the LP900X Adapter
0x0 No sync
0x4 1Gb/s (1.0625 Gb/s)
0x8 2 Gb/s (2.125 Gb/s)
0x10 4 Gb/ s (4250 Mb/ s)
0x20 8 Gb/ s (8500 Mb/ s )
0x40 10 Gb/ s (10518.75 Mb/ s )

Value Description
SS Adapter driver's current init_link_flags setting. 
6 is old port mode,
0
is arbitrated loop mode
UUUU Start sequence status
VVVV Adapter driver state
WWWW Abort IOCB retries without success
XXXX link retries, The number of tries the adapter driver has tried to get link
up, without success
YYYY R_A_TOV (Resource Allocation time-out Delay) currently used by the
adapter driver. This value is in milliseconds
ZZZZ E_D_TOV (FC Error Detect Time-out) currently used by the adapter driver.
This value is in milliseconds
2222 ARB_TOV (FC-AL Arbitration Time-out) currently used by the adapter  
     
driver. This value is in milliseconds
3333 R_T_TOV (FC Receiver Transmitter Time-out Value) currently used by the I
adapter driver. This value is in milliseconds
4444 AL_TOV (FC-AL Time-out value) currently used by the adapter driver.
This value is in milliseconds
5555 Destination N_Port ID if applicable.
6666 Size of efc_cmd structure
7777 Destination Port Name if applicable
8888 First 32-bytes of the payload buffer for efc_cmds (Command Data Structures) are logged. This was added in AIX 6.1B (AIX 6.1.TL1)
9999 If this error log is associated with an NPIV (vport_entry), Then this field contains the NPIV/vport's port name.
This was added in AIX61D (AIX 6.1.TL2)
aaaa If this error log is associated with an NPIV (vport_entry), Then this field contains the NPIV/vport's node name.
This was added in AIX61D (AIX 6.1.TL2)
bbbb If this error log is associated with an NPIV (vport_entry), Then this field contains the NPIV/vport's N_Port ID.
This was added in AIX61D (AIX 6.1.TL2)
cccc If this error log is associated with an NPIV (vport_entry), Then this field contains the NPIV/vport's VPI.
This was added in AIX61D (AIX 6.1.TL2)
dddd If this error log is associated with an NPIV (vport_entry), Then this field contains the vport's flag field.
This was added in AIX61D (AIX 6.1.TL2)
eeee This indicates how many vports/NPIVs are currently in use on this adapter.
This was added in AIX61D (AIX 6.1.TL2)
ffff This indicates the number of NPIVs this adapter supports.
This was added in AIX61D (AIX 6.1.TL2)
RRRR Reserved

QQQQ Value Type Field Description
0 Error Contains error messages specific data - AIX 5 and below only.
1 Mailbox included Contains the failing mailbox - AIX 5 and 6.
2 IOCB Contains the failing IOCB - AIX 5 and 6.
3 Adapter regs contents First four bytes are the adapters's status registers followed by four bytes which
is the PCI command status register. AIX 5 and below only.
4 Data Contains adapter driver data. AIX 5 and below only.
5 Command included Contains the efc_cmd structure starting from the opcode, as defined in the
efc.h. AIX 5 and 6.
FCS/FCA Error Sense Data Templates